﻿Public Partial Class ActualizarDatos
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        cmbAnio.SelectedIndex = Date.Today.Year
        cmbMes.SelectedIndex = Date.Today.Month - 1
    End Sub

#Region "Eventos"

    Protected Sub btnActualizar_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnActualizar.Click
        'TODO Llamar a clase X encargada de actualizar los datos con JSON que tenga
        'dos propiedades (ActualizarTripulantes y ActualizarPostas) y que devuelve true o false...
    End Sub

    Protected Sub chkPostas_CheckedChanged(ByVal sender As Object, ByVal e As EventArgs) Handles chkPostas.CheckedChanged
        pnlPostas.Enabled = chkPostas.Checked
    End Sub

#End Region
End Class